<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>抄表记录</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/analysis_historyfeesummary.css" />
    <link rel="stylesheet" type="text/css" href="css/customerservicelist.css" />
    <link rel="stylesheet" type="text/css" href="../script/vant/index.css" />
    <link rel="stylesheet" type="text/css" href="css/analysis_equipment_frm.css" />
    <style>
        .work_title {
            border-left: 0;
            padding-left: 0;
            font-size: 0.75rem;
            margin-bottom: 15px;
            margin-top: 10px;
            display: unset;
            color: #323233;
        }
        .work_title span i{
            vertical-align: text-top;
        }
        .new-icon-flex {
            position: absolute;
            top: 0px;
            right: 0px;
            display: flex;
            align-items: center;
            height: 20px;
        }
        .work_con_box_time{
            justify-content: space-between;
        }
        .new-collapse-title span {
            font-size: 0.8rem;
        }

        .van-cell--clickable:active {
            background-color: #fff;
        }

        .van-cell {
            border-radius: 4px;
        }

        .van-collapse-item__content {
            border-bottom-right-radius: 4px;
            border-bottom-left-radius: 4px;
        }
       .new-typestatus{
            float: unset;
            padding: 3px 5px 2px 5px;
       }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="aui-content">
            <div class="noinfo" id="noorder" v-if="list.length<=0">
                <img src="../image/index/noinfomsg_icon.png" alt="" />
                <h5><br />暂无相关数据</h5>
            </div>
            <div class="boxarea mainbox " v-for="(items,indexs) in list" style="padding: 0;">
                <van-collapse v-model="activeNames" ref="collapse">
                    <van-collapse-item :title="items.Time" :name="indexs" title-class="new-collapse-title">
                        <div class="noinfo aui-padded-10" id="noorder" v-if="items.List.length<=0">
                            <img src="../image/index/noinfomsg_icon.png" alt="" />
                            <h5><br />暂无相关数据</h5>
                        </div>
                        <div v-if="items.List.length>0" class="aui-margin-b-15 aui-padded-b-15"
                            v-for="(item,index) in items.List"
                            v-bind:class="{'border-bottomLine':index<items.List.length-1}">
                            <div class="aui-margin-b-10">
                                <span style="color: #323233;font-size: 0.8rem;" v-text="formattTime(item.WriteDate)"></span>
                            </div>
                            <div class="work_title">
                                <span>
                                    <i v-if="item.MeterCategoryID==1"
                                        class="icon iconfont icon-shuibiao aui-font-size-18 aui-margin-r-5"
                                        style="color: #289FFF;"></i>
                                    <i v-if="item.MeterCategoryID==2"
                                        class="icon iconfont icon-dianbiao aui-font-size-18 aui-margin-r-5"
                                        style="color: coral;"></i>
                                    <i v-if="item.MeterCategoryID==3"
                                        class="icon iconfont icon-qibiao aui-font-size-18 aui-margin-r-5"
                                        style="color: red;"></i>
                                </span>
                                {{item.MeterName}}<span v-if="item.MeterName&&item.MeterNumber"> | </span>{{item.MeterNumber}} ({{item.MeterCoefficient}}倍)
                                <span v-if="item.FeeStatus==0" class="typestatus ycz new-typestatus">未出账</span>
                                <span v-if="item.FeeStatus!=0" class="typestatus yczs new-typestatus" >已出账</span>
                                <span v-if="item.FeeStatus==0" class="typestatus text-right" style="margin-top: -6px;"><i v-on:click="onClickEdit(item)" class="icon iconfont icon-bianji2 text-grey"></i></span>
                            </div>
                            <div class="work_con_box_time marginheight">
                                <div class="work_con_box_left">资源位置</div>
                                <div class="work_con_box_right text-right">
                                    <label>{{item.Name}}</label>
                                </div>
                            </div>
                            <div class="work_con_box_name marginheight">
                                <div class="work_con_box_left">抄表日期</div>
                                <div class="work_con_box_right text-right">
                                    <label>{{item.WriteDateDesc}}</label>
                                </div>
                            </div>
                            <div class="work_con_box_name marginheight">
                                <div class="work_con_box_left">抄表人</div>
                                <div class="work_con_box_right text-right">
                                    <label>{{item.WriteUserName}}</label>
                                </div>
                            </div>
                            <div class="work_con_box_time marginheight">
                                <div class="work_con_box_left">起止读数</div>
                                <div class="work_con_box_right" style="position: relative;">
                                    <label>{{item.MeterStartPoint}}-{{item.MeterEndPoint}}</label>
                                    <span class="new-icon-flex">
                                        实际用量：<span class="text-blue" style="font-weight: bold;">{{item.MeterFinalPoint}}</span></label>
                                </div>
                            </div>
                        </div>
                    </van-collapse-item>
                </van-collapse>
            </div>
        </div>

    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/page/dateRangeUtil.js"></script>
<script type="text/javascript " src="../script/vant/vue.js"></script>
<script type="text/javascript " src="../script/vant/vant.js"></script>
<script type="text/javascript " src="../script/moment/moment.js"></script>
<script type="text/javascript" src="js/meterwriterecord.js"></script>

</html>